package net.huashitong.ssydt.provider.pk.service;


import net.huashitong.ssydt.base.service.LongService;
import net.huashitong.ssydt.pk.entity.SsPkYzddMyMedal;

import java.util.List;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.12.20
 */
public interface SsPkYzddMyMedalService extends LongService<SsPkYzddMyMedal> {
    /**
     * 根据用户id获取对象
     *
     * @param userId
     * @return
     */
    SsPkYzddMyMedal getByUserId(String userId);


    /**
     * 根据用户id获取对象
     *
     * @param userId
     * @return
     */
    SsPkYzddMyMedal getAutoCreateByUserId(String userId);

    List<SsPkYzddMyMedal> findCountMedalRank();

    List<String> findXuebaXunZhang();

}
